package com.ado.bazinga.core.dal.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ado.bazinga.core.dal.entity.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

@Mapper
public interface AdminMapper extends BaseMapper<Admin>  {

	/***
	 * 
	 * @param id
	 * @return
	 */
	Admin selectByPrimaryKey(int id) ;
	
	/***
	 * 
	 * @return
	 */
	List<Admin>  findAll() ;

	/**
	 * 
	 * @param account
	 * @return
	 */
	Admin findByAccount(@Param("account") String account);
	
	/**
	 * 
	 * @param admin
	 * @return
	 */
	int insertSelective(Admin admin) ;
   
}